package com.oms.domain;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Massorganizationauthority entity. @author MyEclipse Persistence Tools
 */

public class Massorganizationauthority implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = 1924260137268996098L;
	
	// Fields
	private Integer authorityId;
	private Massorganization massorganization;
	private String authorityName;
	private Short authorityOperateType;
	private Short validScopeType;
	private Integer validScope;
	private Boolean canEmpower;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;
	private Set memberAuthorities = new HashSet(0);
	private Set roleAuthorities = new HashSet(0);

	// Constructors

	/** default constructor */
	public Massorganizationauthority() {
	}

	/** minimal constructor */
	public Massorganizationauthority(Massorganization massorganization,
			String authorityName, Short authorityOperateType,
			Short validScopeType, Integer validScope, Boolean canEmpower,
			Boolean deleteTag) {
		this.massorganization = massorganization;
		this.authorityName = authorityName;
		this.authorityOperateType = authorityOperateType;
		this.validScopeType = validScopeType;
		this.validScope = validScope;
		this.canEmpower = canEmpower;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public Massorganizationauthority(Massorganization massorganization,
			String authorityName, Short authorityOperateType,
			Short validScopeType, Integer validScope, Boolean canEmpower,
			Timestamp lastUpdateTime, Boolean deleteTag, String expandBar1,
			String expandBar2, Set memberAuthorities, Set roleAuthorities) {
		this.massorganization = massorganization;
		this.authorityName = authorityName;
		this.authorityOperateType = authorityOperateType;
		this.validScopeType = validScopeType;
		this.validScope = validScope;
		this.canEmpower = canEmpower;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
		this.memberAuthorities = memberAuthorities;
		this.roleAuthorities = roleAuthorities;
	}

	// Property accessors

	public Integer getAuthorityId() {
		return this.authorityId;
	}

	public void setAuthorityId(Integer authorityId) {
		this.authorityId = authorityId;
	}

	public Massorganization getMassorganization() {
		return this.massorganization;
	}

	public void setMassorganization(Massorganization massorganization) {
		this.massorganization = massorganization;
	}

	public String getAuthorityName() {
		return this.authorityName;
	}

	public void setAuthorityName(String authorityName) {
		this.authorityName = authorityName;
	}

	public Short getAuthorityOperateType() {
		return this.authorityOperateType;
	}

	public void setAuthorityOperateType(Short authorityOperateType) {
		this.authorityOperateType = authorityOperateType;
	}

	public Short getValidScopeType() {
		return this.validScopeType;
	}

	public void setValidScopeType(Short validScopeType) {
		this.validScopeType = validScopeType;
	}

	public Integer getValidScope() {
		return this.validScope;
	}

	public void setValidScope(Integer validScope) {
		this.validScope = validScope;
	}

	public Boolean getCanEmpower() {
		return this.canEmpower;
	}

	public void setCanEmpower(Boolean canEmpower) {
		this.canEmpower = canEmpower;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

	public Set getMemberAuthorities() {
		return this.memberAuthorities;
	}

	public void setMemberAuthorities(Set memberAuthorities) {
		this.memberAuthorities = memberAuthorities;
	}

	public Set getRoleAuthorities() {
		return this.roleAuthorities;
	}

	public void setRoleAuthorities(Set roleAuthorities) {
		this.roleAuthorities = roleAuthorities;
	}

}